<UserControl x:Class="WPFExcelReport.ITXINTERFACE"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core"
                    xmlns:db="clr-namespace:INTEX.DataBase"
                    xmlns:scm="clr-namespace:System.ComponentModel;assembly=WindowsBase" 
                    xmlns:dat="clr-namespace:System.Windows.Data;assembly=PresentationFramework"
                    xmlns:wep="clr-namespace:WPFExcelReport" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization" 
              HorizontalAlignment="Stretch"
                    VerticalAlignment="Stretch" 
                    >
    <UserControl.Resources>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:String2ColorConverter  x:Key="str2color"/>  
        <CollectionViewSource  x:Key="vwGABBS" Source="{Binding Path=SetMaster.ICC_GABBS}"/>
        <CollectionViewSource  x:Key="vwTMPGABBS" Source="{Binding Path=SetDetail.ICC_GABBS}"/>
    </UserControl.Resources> 
    <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition   Height="Auto" />
                     
                    </Grid.RowDefinitions>

        <StackPanel Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="5" >
            <WrapPanel>
                <StackPanel>
                    <Button  Height="40"  Width="40" Margin="0,0,0,0" Name="btnGetCADMap" 
                         KeyboardNavigation.TabIndex="3" IsDefault="True">
                        <Button.Background>
                            <ImageBrush ImageSource="/IntexReportClient;component/Images/Reload.png" />
                        </Button.Background>
                    </Button>
                    <TextBlock Text="{Binding Source={Localization:Translate Word=重新生成接口定义}}"></TextBlock>
                </StackPanel>
                <StackPanel>
                    <Button  Name="cmdSaveMap"  Width="40" Height="40">
                        <Button.Background>
                            <ImageBrush  ImageSource="/IntexReportClient;component/Images/Upload.png" />
                        </Button.Background>
                    </Button>
                    <TextBlock Text="{Binding Source={Localization:Translate Word=加载接口定义}}"></TextBlock>
                </StackPanel>
            </WrapPanel>
        </StackPanel>
    </Grid>  
</UserControl>
